import request from '@/utils/request'

export function getCaseList (params) {
  return request({
    url: '/admin/get_case_list',
    method: 'get',
    params: params
  })
}
export function getClassInfo (params) {
  return request({
    url: '/admin/get_class_info',
    method: 'get',
    params: params
  })
}
export function getcasedetail (params) {
  return request({
    url: '/admin/get_pc_case_detail',
    method: 'get',
    params: params
  })
}
export function delremark (params) {
  return request({
    url: '/admin/del_comments_info',
    method: 'get',
    params: params
  })
}
export function doupremark (params) {
  return request({
    url: '/admin/add_comments',
    method: 'post',
    params: params
  })
}
export function dosubmitcase (params) {
  return request({
    url: '/admin/add_case_info',
    method: 'post',
    params: params
  })
}
